# ########腾讯云短信#########
TENCENT_SMS_APP_ID = 1400417247
TENCENT_SMS_APP_KEY = '8cb81878f6afa0418409127f2d7858b2'
TENCENT_SMS_SIGN = 'GokuBlack'

# redis配置
CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://127.0.0.1:6379", # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": { # 链接池
                "max_connections": 1000, # 连接池最大
                "encoding": 'utf-8'	# 连接池的编码
            },
            "PASSWORD": "root" # redis密码
        }
    }
}